package com.mycompany.project.server.model;

/* Annotatation class defines keywords and descriptions. It is specified by: language, keyword, description. 
   For each annotation is defined only one selection. */
public class AnnotationModel {
	private String lang;
	private String author;
	private String keyword;
	private String description;
	private SelectionModel selection;
	
	//Contructor
	public AnnotationModel(String lang, String author, String keyword, String description, SelectionModel selection){
		this.lang = lang;
		this.author = author;
		this.keyword = keyword;
		this.description = description;		
		this.selection = selection;	
	}
	//Accessible methods
	public void setLang(String lang) {
		this.lang = lang;
	}
	public String getLang() {
		return lang;
	}
	public void setSelection(SelectionModel selection) {
		this.selection = selection;
	}
	public SelectionModel getSelection() {
		return selection;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDescription() {
		return description;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getAuthor() {
		return author;
	}

}
